//
//  ZCInvolvedNewcommentsCell.h
//  ZCInvolved
//
//  Created by apple on 16/3/21.
//  Copyright © 2016年 MDJ. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "ZCInvolvedDetailsModelHotComments.h"
#import "UIView+WHC_AutoLayout.h"
#import "WHC_StackView.h"


@class ZCInvolvedNewcommentsCell;

@protocol  ZCInvolvedNewcommentsCellDelegate<NSObject>

-(void)likeButtonClickindex:(NSIndexPath *)indexPath islogin:(BOOL)login;
-(void)commentButtonClickindex:(NSIndexPath *)indexPath;

@end

@class AnswerMenuView;

@protocol AnswerMenuViewDelegate <NSObject>
- (void)answerMenuView:(AnswerMenuView *)menuView isClickSupper:(BOOL)isSupper;

-(void)superMenuView:(AnswerMenuView *)menuView isClickSupper:(BOOL)isSupper;

@end

@interface AnswerMenuView : WHC_StackView
@property (nonatomic,strong) UIView *supperView;
@property (nonatomic,strong) UIView *answerView;
@property (nonatomic,strong) UIImageView *supperImg;
@property (nonatomic,strong) UIImageView *answerImg;
@property (nonatomic,strong) UILabel *supperLable;
@property (nonatomic,strong) UILabel *answerLable;
@property (nonatomic,strong) UILabel *supperNum;

@property (nonatomic, weak) id<AnswerMenuViewDelegate> delegate;

- (void)clickSupperButton:(UIButton *)sender;
- (void)clickAnswerButton:(UIButton *)sender;
@end



@interface ZCInvolvedNewcommentsCell : UITableViewCell

@property (nonatomic , weak) id <ZCInvolvedNewcommentsCellDelegate> delegate;
@property (nonatomic , strong)NSIndexPath *indexPath;
@property (nonatomic , strong)UITableView * tableView;

@property (nonatomic, strong)ZCInvolvedDetailsModelHotComments* friendModel;


@end
